home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_6 / ustat.lha / README.FIRST < prev    next >
Text File  |  1995-05-06  |  599b  |  15 lines

  1. In Unix, the device argument is usually of type 'dev_t', which is defined
  2. as 'short' in dinclude:sys/types.h.  This should be changed to 'long' for
  3. safety reasons.  Otherwise you'll run into problems if a program makes an
  4. [f]stat() call, saves the st_dev field in a variable of type dev_t and
  5. later passes this variable to ustat().
  6.  
  7. lstat() does not always set the st_dev field.  A patch for unix/lstat.c
  8. for DICE 2.07.56R is provided in "lstat.diff".  Apply this patch and re-
  9. compile the libraries if you want to use ustat() together with lstat().
  10.  
  11.  
  12. -Ingo
  13. Ingo.Wilken@informatik.uni-oldenburg.de
  14.  
  15.